package com.ruoyi.wechat.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营地评价对象 c_evaluate
 * 
 * @author jiang
 * @date 2024-11-11
 */
public class Evaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 营地评价Id */
    private String evaluateId;

    /** 营地Id */
    @Excel(name = "营地Id")
    private String campId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private String userId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal score;

    /** 评价照片
多文件上传
字符串连接
 */
    @Excel(name = "评价照片 ")
    private String imageUrl;

    /** 是否匿名 */
    @Excel(name = "是否匿名")
    private String anonymous;

    /** 用户名称 */
    private String username;
    /** 营地名称 */
    private String campName;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCampName() {
        return campName;
    }

    public void setCampName(String campName) {
        this.campName = campName;
    }

    public void setEvaluateId(String evaluateId)
    {
        this.evaluateId = evaluateId;
    }

    public String getEvaluateId() 
    {
        return evaluateId;
    }
    public void setCampId(String campId) 
    {
        this.campId = campId;
    }

    public String getCampId() 
    {
        return campId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setAnonymous(String anonymous) 
    {
        this.anonymous = anonymous;
    }

    public String getAnonymous() 
    {
        return anonymous;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("evaluateId", getEvaluateId())
            .append("campId", getCampId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("releaseTime", getReleaseTime())
            .append("score", getScore())
            .append("imageUrl", getImageUrl())
            .append("anonymous", getAnonymous())
            .toString();
    }
}
